package org.example.music_manage_system.service;
import org.example.music_manage_system.pojo.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);
    //更新头像
    void updateAvatar(String avatarUrl);
   //更新用户密码
    void updatePwd(String newPwd);
}
